package com.kingmed.kmss.framework.excel.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * Excel文件服务
 */
public interface ExcelFileService {

    /**
     * Excel文件下载
     *
     * @param request
     * @param response
     * @param type
     * @param list
     * @param clazz
     * @param templateFileName
     * @throws IOException
     */
    void excelFileDownload(HttpServletRequest request, HttpServletResponse response, Integer type, List<?> list, Class clazz, String templateFileName) throws IOException;

}
